//
//  LBCChooseHeadView.m
//  喜马拉雅改良版框架
//
//  Created by dllo on 15/12/26.
//  Copyright © 2015年 蓝鸥科技. All rights reserved.
//

#import "LBCChooseHeadView.h"

@interface LBCChooseHeadView ()



@end

@implementation LBCChooseHeadView

-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        
        UIImageView *playImageView = [UIImageView new];
        playImageView.image = [UIImage imageNamed:@"findsection_logo@2x.png"];
        [self addSubview:playImageView];
        [playImageView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(15);
            make.top.mas_equalTo(22);
            make.bottom.mas_equalTo(-7);
            make.width.equalTo(playImageView.mas_height);
            
        }];
        
        self.nameLabel = [UILabel new];
        _nameLabel.text = @"类别:";
        [self addSubview:_nameLabel];
        [_nameLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(playImageView.mas_right).offset(5);
            make.top.mas_equalTo(20);
            make.bottom.mas_equalTo(-5);
            make.width.mas_equalTo(SCREEN_WIDTH / 4);
            
        }];
        
    }
    return self;
}

@end
